package com.soft3.yxq.generator.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 产品订单表
 * </p>
 *
 * @author yxq
 * @since 2024-12-20
 */
@ApiModel(value = "Productorder对象", description = "产品订单表")
public class Productorder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "productorder_id", type = IdType.AUTO)
    private Integer productorderId;

    @ApiModelProperty("订单号")
    private String productorderCode;

    @ApiModelProperty("产品地址")
    private String productorderAddress;

    @ApiModelProperty("产品详细地址")
    private String productorderDetailAddress;

    @ApiModelProperty("邮政编码")
    private String productorderPost;

    @ApiModelProperty("收货人")
    private String productorderReceiver;

    @ApiModelProperty("联系方式")
    private String productorderMobile;

    @ApiModelProperty("支付日期")
    private LocalDateTime productorderPayDate;

    @ApiModelProperty("发货日期")
    private LocalDateTime productorderDeliveryDate;

    @ApiModelProperty("确认日期")
    private LocalDateTime productorderConfirmDate;

    @ApiModelProperty("订单状态(0:待付款 1:待发货 2:待确认 3:交易成功 4:交易关闭)")
    private Boolean productorderStatus;

    @ApiModelProperty("用户id")
    private Integer productorderUserId;

    public Integer getProductorderId() {
        return productorderId;
    }

    public void setProductorderId(Integer productorderId) {
        this.productorderId = productorderId;
    }

    public String getProductorderCode() {
        return productorderCode;
    }

    public void setProductorderCode(String productorderCode) {
        this.productorderCode = productorderCode;
    }

    public String getProductorderAddress() {
        return productorderAddress;
    }

    public void setProductorderAddress(String productorderAddress) {
        this.productorderAddress = productorderAddress;
    }

    public String getProductorderDetailAddress() {
        return productorderDetailAddress;
    }

    public void setProductorderDetailAddress(String productorderDetailAddress) {
        this.productorderDetailAddress = productorderDetailAddress;
    }

    public String getProductorderPost() {
        return productorderPost;
    }

    public void setProductorderPost(String productorderPost) {
        this.productorderPost = productorderPost;
    }

    public String getProductorderReceiver() {
        return productorderReceiver;
    }

    public void setProductorderReceiver(String productorderReceiver) {
        this.productorderReceiver = productorderReceiver;
    }

    public String getProductorderMobile() {
        return productorderMobile;
    }

    public void setProductorderMobile(String productorderMobile) {
        this.productorderMobile = productorderMobile;
    }

    public LocalDateTime getProductorderPayDate() {
        return productorderPayDate;
    }

    public void setProductorderPayDate(LocalDateTime productorderPayDate) {
        this.productorderPayDate = productorderPayDate;
    }

    public LocalDateTime getProductorderDeliveryDate() {
        return productorderDeliveryDate;
    }

    public void setProductorderDeliveryDate(LocalDateTime productorderDeliveryDate) {
        this.productorderDeliveryDate = productorderDeliveryDate;
    }

    public LocalDateTime getProductorderConfirmDate() {
        return productorderConfirmDate;
    }

    public void setProductorderConfirmDate(LocalDateTime productorderConfirmDate) {
        this.productorderConfirmDate = productorderConfirmDate;
    }

    public Boolean getProductorderStatus() {
        return productorderStatus;
    }

    public void setProductorderStatus(Boolean productorderStatus) {
        this.productorderStatus = productorderStatus;
    }

    public Integer getProductorderUserId() {
        return productorderUserId;
    }

    public void setProductorderUserId(Integer productorderUserId) {
        this.productorderUserId = productorderUserId;
    }

    @Override
    public String toString() {
        return "Productorder{" +
            "productorderId = " + productorderId +
            ", productorderCode = " + productorderCode +
            ", productorderAddress = " + productorderAddress +
            ", productorderDetailAddress = " + productorderDetailAddress +
            ", productorderPost = " + productorderPost +
            ", productorderReceiver = " + productorderReceiver +
            ", productorderMobile = " + productorderMobile +
            ", productorderPayDate = " + productorderPayDate +
            ", productorderDeliveryDate = " + productorderDeliveryDate +
            ", productorderConfirmDate = " + productorderConfirmDate +
            ", productorderStatus = " + productorderStatus +
            ", productorderUserId = " + productorderUserId +
        "}";
    }
}
